ncbi-blast+.git
4 months agoMake fast forward from 2.17.0+ds-1
Aaron M. Ucko [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
Make fast forward from 2.17.0+ds-1

[dgit --quilt=gbp]

4 months agozcf-simde-crc32c
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
zcf-simde-crc32c

Gbp-Pq: Name zcf-simde-crc32c

4 months agobig_endian_workaround
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
big_endian_workaround

Gbp-Pq: Name big_endian_workaround

4 months agoto3
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
to3

Gbp-Pq: Name 2to3

4 months agotune_lmdb_defaults
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

4 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

4 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

4 months agoSpelling fixes
Michael R. Crusoe [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

4 months agoadd missing lib for tests
Olivier Sallou [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

4 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

4 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

4 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

4 months agofix path for debian build
Olivier Sallou [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

4 months agoremove network required test
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

4 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

4 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

4 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps

4 months agorename binary as blast+ for package coherency.
Olivier Sallou [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
rename binary as blast+ for package coherency.

Last-Updated: 2011-10-03

Gbp-Pq: Name legacy_rename_rpsblast

4 months agofix portability issues that led to Hurd build failures
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
fix portability issues that led to Hurd build failures

* src/build-system/configure(.ac):
  - Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
  cope with missing PATH_MAX everywhere, not just under Windows.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19

Gbp-Pq: Name hurd_fixes

4 months agoclean after failure
Debian Med Packaging Team [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
clean after failure

Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

4 months agoblast+ use optout to send usage reports over internet
Olivier Sallou [Wed, 1 Oct 2025 18:43:25 +0000 (14:43 -0400)]
blast+ use optout to send usage reports over internet

Last-Updated: 202-02-10
Forwarded: no

Gbp-Pq: Name optin_usage_report

4 months agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

4 months agoncbi-blast+ 2.17.0+ds-2: Fix ZCF CRC32C logistics with SIMDE help.
Aaron M. Ucko [Wed, 1 Oct 2025 18:43:26 +0000 (14:43 -0400)]
ncbi-blast+ 2.17.0+ds-2: Fix ZCF CRC32C logistics with SIMDE help.

* debian/control:
  - Additionally build-depend on libsimde-dev.
  - Require CRC support on ARM per upstream.
* debian/patches/zcf-simde-crc32c (new): Replace Cloudflare deflate.c's
  fallbackless architecture-dependent code with a SIMDE invocation that
  amounts to the same thing on supported architectures and to a portable
  fallback elsewhere.

4 months agoFinalize ncbi-blast+ 2.17.0+ds-1 for unstable.
Aaron M. Ucko [Mon, 29 Sep 2025 03:09:00 +0000 (23:09 -0400)]
Finalize ncbi-blast+ 2.17.0+ds-1 for unstable.

4 months agoMake fast forward from 2.16.0+ds-7
Aaron M. Ucko [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
Make fast forward from 2.16.0+ds-7

[dgit --quilt=gbp]

4 months agobig_endian_workaround
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
big_endian_workaround

Gbp-Pq: Name big_endian_workaround

4 months agoto3
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
to3

Gbp-Pq: Name 2to3

4 months agotune_lmdb_defaults
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

4 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

4 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

4 months agoSpelling fixes
Michael R. Crusoe [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

4 months agoadd missing lib for tests
Olivier Sallou [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

4 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

4 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

4 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

4 months agofix path for debian build
Olivier Sallou [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

4 months agoremove network required test
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

4 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

4 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

4 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps

4 months agorename binary as blast+ for package coherency.
Olivier Sallou [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
rename binary as blast+ for package coherency.

Last-Updated: 2011-10-03

Gbp-Pq: Name legacy_rename_rpsblast

4 months agofix portability issues that led to Hurd build failures
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
fix portability issues that led to Hurd build failures

* src/build-system/configure(.ac):
  - Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
  cope with missing PATH_MAX everywhere, not just under Windows.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19

Gbp-Pq: Name hurd_fixes

4 months agoclean after failure
Debian Med Packaging Team [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
clean after failure

Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

4 months agoblast+ use optout to send usage reports over internet
Olivier Sallou [Mon, 29 Sep 2025 03:08:59 +0000 (23:08 -0400)]
blast+ use optout to send usage reports over internet

Last-Updated: 202-02-10
Forwarded: no

Gbp-Pq: Name optin_usage_report

4 months agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

4 months agodebian/copyright: Clean up whitespace (routine-update).
Aaron M. Ucko [Mon, 29 Sep 2025 02:55:43 +0000 (22:55 -0400)]
debian/copyright: Clean up whitespace (routine-update).

Namely, a few hard tabs and a trailing space.

4 months agod/control: Reformat via "cme fix dpkg-control" (routine-update).
Aaron M. Ucko [Mon, 29 Sep 2025 02:49:24 +0000 (22:49 -0400)]
d/control: Reformat via "cme fix dpkg-control" (routine-update).

* Format potentially multi-valued entries as

  Key:
   value1,
   value2,
   ...

  rather then

  Key: value1,
       value2,
       ...

* Move Standards-Version up to between Source and Maintainer.

4 months agodebian/copyright: Update with more help from lrc.
Aaron M. Ucko [Sun, 28 Sep 2025 20:30:17 +0000 (16:30 -0400)]
debian/copyright: Update with more help from lrc.

* Cover zlib_cloudflare alongside (unused) zlib, accounting for the
  fork's additional copyright holders and years.
* Cover (unused) PCRE2's sljit subtree; factor out BSD-2-clause for it.
* Stop mentioning the retired extra copy of lmdb++.h.
* Enumerate cityhash and farmhash explicitly to allow for *-only
  wildcarding without pulling in murmurhash.

4 months agoOverride embedded-library zlib for libzcf.so
Aaron M. Ucko [Sun, 28 Sep 2025 02:26:46 +0000 (22:26 -0400)]
Override embedded-library zlib for libzcf.so

... which is Cloudflare's fork.

4 months agodebian/rules: Explicitly supply VDB_LIBDIR to configure
Aaron M. Ucko [Sun, 28 Sep 2025 02:23:33 +0000 (22:23 -0400)]
debian/rules: Explicitly supply VDB_LIBDIR to configure

... to avoid a bad interaction that led to spurious runpath entries in
binaries linked against VDB.

4 months agodebian/control: Require SSE 4.2 on x86 per upstream.
Aaron M. Ucko [Sun, 28 Sep 2025 01:19:22 +0000 (21:19 -0400)]
debian/control: Require SSE 4.2 on x86 per upstream.

4 months agodebian/patches: Update for new release, mostly formally.
Aaron M. Ucko [Sun, 28 Sep 2025 00:58:00 +0000 (20:58 -0400)]
debian/patches: Update for new release, mostly formally.

* debian/patches/series: Comment out support_mbedtls3, allow_pcre2,
  and fix_bm_for_gcc15, all incorporated upstream.
* debian/patches/system_mbedtls_only: Drop code changes (incorporated
  upstream) and port Makefile.connssl.lib's changes.

4 months agoMerge tag 'upstream/2.17.0+ds'
Aaron M. Ucko [Sun, 28 Sep 2025 00:39:52 +0000 (20:39 -0400)]
Merge tag 'upstream/2.17.0+ds'

Upstream version 2.17.0(+ds).

4 months agoNew upstream version 2.17.0+ds
Aaron M. Ucko [Sun, 28 Sep 2025 00:39:42 +0000 (20:39 -0400)]
New upstream version 2.17.0+ds

9 months agoFinalize ncbi-blast+ 2.16.0+ds-7 for unstable.
Aaron M. Ucko [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
Finalize ncbi-blast+ 2.16.0+ds-7 for unstable.

9 months agodebian/copyright: Overhaul with much help from licenserecon (lrc).
Aaron M. Ucko [Sun, 4 May 2025 03:42:19 +0000 (23:42 -0400)]
debian/copyright: Overhaul with much help from licenserecon (lrc).

9 months agoDeclare fast forward from 2.16.0+ds-6
Aaron M. Ucko [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
Declare fast forward from 2.16.0+ds-6

[dgit --quilt=gbp --overwrite]

9 months ago[PATCH] fixed clang compilation issues
Anatoliy Kuznetsov [Tue, 3 Sep 2024 19:29:08 +0000 (15:29 -0400)]
[PATCH] fixed clang compilation issues

Gbp-Pq: Name fix_bm_for_gcc15

9 months agobig_endian_workaround
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
big_endian_workaround

Gbp-Pq: Name big_endian_workaround

9 months agoto3
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
to3

Gbp-Pq: Name 2to3

9 months agotune_lmdb_defaults
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

9 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

9 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

9 months agoSpelling fixes
Michael R. Crusoe [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

9 months agoadd missing lib for tests
Olivier Sallou [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

9 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

9 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

9 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

9 months agofix path for debian build
Olivier Sallou [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

9 months agoremove network required test
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

9 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

9 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

9 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps

9 months agorename binary as blast+ for package coherency.
Olivier Sallou [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
rename binary as blast+ for package coherency.

Last-Updated: 2011-10-03

Gbp-Pq: Name legacy_rename_rpsblast

9 months agofix portability issues that led to Hurd build failures
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
fix portability issues that led to Hurd build failures

* src/build-system/configure(.ac):
  - Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
  cope with missing PATH_MAX everywhere, not just under Windows.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19

Gbp-Pq: Name hurd_fixes

9 months agoclean after failure
Debian Med Packaging Team [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
clean after failure

Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

9 months agoblast+ use optout to send usage reports over internet
Olivier Sallou [Sun, 4 May 2025 03:42:51 +0000 (23:42 -0400)]
blast+ use optout to send usage reports over internet

Last-Updated: 202-02-10
Forwarded: no

Gbp-Pq: Name optin_usage_report

9 months ago[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.
ucko [Thu, 18 Jul 2024 18:33:56 +0000 (18:33 +0000)]
[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.

- For now, require opt-in via --with-components="...;PCRE2;..." (CMake),
  --with-pcre2 (traditional Unix build system), or uncommenting the
  relevant ThirdParty_PCRE2 setting in project_tree_builder.ini
  (traditional Windows build system).
- Likewise, hold off on switching the bundled copy to PCRE2 or checking
  for any functions or headers that will become of interest.
- Redundantly (for now) shun external PCRE2 in bin-release configurations.
- Otherwise favor (allowed!) external installations over the bundled
  copy, preferring PCRE2 over legacy PCRE when both are found and
  allowed but (in due course) external legacy PCRE over bundled PCRE2 in
  the absence of external PCRE2.
- In the traditional build system, have the widely used PCRE_LIBS macro
  correspond to whichever PCRE is default (when not falling back on a
  bundled copy), and add a PCRE_LEGACY_LIBS macro for the sake of
  anything using legacy PCRE directly (very occasionally seen).

JIRA: CXX-12761,

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102806 78c7ea69-d796-4a43-9a09-de51944f1b03

Irrelevant (and inapplicable) changes to c++/src/build-system/cmake/,
c++/src/build-system/configure (which will be regenerated anyway), and
c++/src/build-system/project_tree_builder.ini elided.

Gbp-Pq: Name allow_pcre2

9 months ago[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).
ucko [Tue, 23 Apr 2024 19:21:48 +0000 (19:21 +0000)]
[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).

- Conditionally pass mbedtls_pk_parse_key the existing pRNG and its state.
- Call psa_crypto_init during setup, as PSA may be in play even when not
  explicitly enabled.  Documentation suggests calling it as early as
  possible; in practice, though, holding off until after pRNG
  initialization avoids "insufficient entropy" errors under 2.x (at least
  2.28.8 LTS on Linux) and still works fine as of 3.6.0.
- At least for now, ensure that MBEDTLS_SSL_VERIFY_NONE remains effective
  by additionally capping the TLS version at 1.2; as of 1.3, certificate
  checking has become mandatory, and Mbed TLS respects that requirement.
- Additional tuneups to ncbi_mbedtls.c-only code:
-- Account for error-code macro repertoire changes by conditionalizing
   major-version-specific macros on their availability and specifically
   checking for or emitting MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED (new)
   as appropriate,
-- x_ErrorToStatus: Conditionally use MBEDTLS_PRIVATE for p_bio, which has
   no accessor.
-- x_MbedTlsWrite: Substitute mbedtls_ssl_get_max_out_record_payload for
   mbedtls_ssl_get_output_max_frag_len, which didn't account for other
   relevant considerations and is now fully private.

https://github.com/Mbed-TLS/mbedtls/blob/development/docs/3.0-migration-guide.md
supplied useful guidance.  JIRA: CXX-13565.

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102329 78c7ea69-d796-4a43-9a09-de51944f1b03

Gbp-Pq: Name support_mbedtls3

9 months agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

9 months agoStandards-Version: 4.7.2 (routine-update)
Aaron M. Ucko [Sun, 4 May 2025 02:21:56 +0000 (22:21 -0400)]
Standards-Version: 4.7.2 (routine-update)

9 months agoBuild against VDB where available (amd64/arm64/x32) (#1100037).
Aaron M. Ucko [Sun, 4 May 2025 02:20:25 +0000 (22:20 -0400)]
Build against VDB where available (amd64/arm64/x32) (#1100037).

* debian/control: Build-depend on libncbi-vdb-dev where available.
* debian/rules: Build against (packaged!) VDB where available, using
  logic cribbed from ncbi-igblast.

9 months ago+ debian/patches/fix_bm_for_gcc15 (#1097434).
Aaron M. Ucko [Sun, 4 May 2025 02:16:45 +0000 (22:16 -0400)]
+ debian/patches/fix_bm_for_gcc15 (#1097434).

Cherry-pick a BitMagic fix needed for modern compilers, adjusting the
path appropriately.

18 months agoFinalize ncbi-blast+ 2.16.0+ds-6 for unstable.
Aaron M. Ucko [Wed, 7 Aug 2024 01:45:10 +0000 (21:45 -0400)]
Finalize ncbi-blast+ 2.16.0+ds-6 for unstable.

18 months agoDeclare fast forward from 2.16.0+ds-5
Aaron M. Ucko [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
Declare fast forward from 2.16.0+ds-5

[dgit --quilt=gbp --overwrite]

18 months agobig_endian_workaround
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
big_endian_workaround

Gbp-Pq: Name big_endian_workaround

18 months agoto3
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
to3

Gbp-Pq: Name 2to3

18 months agotune_lmdb_defaults
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

18 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

18 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

18 months agoSpelling fixes
Michael R. Crusoe [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

18 months agoadd missing lib for tests
Olivier Sallou [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

18 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

18 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

18 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

18 months agofix path for debian build
Olivier Sallou [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

18 months agoremove network required test
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

18 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

18 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

18 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Wed, 7 Aug 2024 01:45:09 +0000 (21:45 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps